home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / access / secure.zip / SRC / READ.ME next >
Text File  |  1991-11-01  |  2KB  |  50 lines

  1. /* **********  SECURE Lan Manager security checking for SQL Server *******
  2. *
  3. * This program is an adaptation of the standard pass-through gateway.
  4. * It implements a security integration layer between Lan Manager
  5. * and SQL Server.  On as connection event (in SECURECBS.C) Lan Manager
  6. * is queried for the name of the user on the other end of the pipe.
  7. * This username is compared to the requested SQL Server login name,
  8. * and the login is rejected if the two don't match.
  9. *
  10. * If the /F flag is given at startup, all language events will be written
  11. * to the GDK log file prior to being passed on to SQL Server.
  12. *
  13. *    Usage:    secure -S<machine_name> -p<pipe_name> -L<logfile> -N
  14. *
  15. *           where
  16. *            machine_name = Target SQL Server name on network
  17. *                    (default is local machine)
  18. *
  19. *            pipe_name = Input pipe name for DB-Lib clients
  20. *                    (default is \pipe\sql\query)
  21. *
  22. *            logfile = Name of GDK log file
  23. *                    (default is gateway.log if /F is
  24. *                    given without a filename)
  25. *
  26. *            -N = turns off login checking (if you just want
  27. *                    use request logging)
  28. *
  29. * If you run the SECURE application on the same machine as SQL Server,
  30. * you can have the GDK listen on the default pipe name, \pipe\sql\query
  31. * and set SQL Server itself to listen on a different, secured
  32. * pipe name.  To start SQL Server listening on a different pipe, use
  33. *
  34. *    sqlservr -d c:\sql\data\master.dat -pPipePath
  35. *
  36. * This will start SQL Server listening on the pipe \pipe\PipePath\query
  37. * You will also need to add an entry to OS2.INI to have SECURE itself
  38. * point to this pipe on the back end. In this case, the machine_name
  39. * used in starting up the GDK will correspond to an entry in the OS2.INI
  40. * on the same machine. See the Appendix to the GDK Programmer's Reference
  41. * for details on how to set OS2.INI.
  42. *
  43. * By configuring the SECURE application this way, client configurations
  44. * will not need to change-- they will connect to the default pipe name.
  45. *
  46. * This application requires the LAN Manager 2.0 Programmer's Toolkit
  47. * for compilation and linking.
  48. *
  49. ***********************************************************************/
  50.